package org.govhack.okcapital.view;

import net.sf.json.JSONArray;

import org.springframework.ui.ModelMap;
import org.springframework.web.servlet.ModelAndView;

/**
 * A spring ModelAndView for json objects
 *
 */
public class JSONModelAndView extends ModelAndView {

    public JSONModelAndView(ModelMap model) {
        super(new JSONView(), model);
    }

    public JSONModelAndView(JSONArray jsonArray) {
        super(new JSONView(jsonArray), new ModelMap());
    }



}
